package com.xm9m.web.service.api.request.common;

import com.xm9m.web.service.interfaces.IXm9mResponse;
import com.xm9m.web.service.interfaces.Xm9mRequest;

/**
 * Created by Liutong on 12/18/15.
 */
public class PaginationRequest<T extends IXm9mResponse> extends Xm9mRequest<T> {
    protected int currentPage = 1;
    protected int pageSize = 20;

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
